package com.xiaoniu.forum.service;

import javax.websocket.Session;
import java.io.IOException;
import java.util.Map;

/**
 * 通过webSocket发送消息的Service
 */
public interface WebSocketMessageService {
    void sendMessageToMember(String memberId, String message, Map<String, Session> sessionMap) throws IOException;
}
